﻿#region Copyright(C) 2018 FI Ltd. All rights reserved.
// ==================================================================================================
// Copyright(C) 2018 FI Ltd. All rights reserved.
//
// SYSTEM NAME      : FI.Net Application Framework
// COMPONENT ID     : FI.Core.EntLib
// COMPONENT DESC   : Microsoft Enterprise Library Adapter.
//
// CREATED DATE/BY  : 18 Dec 2018 / Tian Mi
//
// REVISION HISTORY :
// DATE/BY            SR#/CS/PM#/OTHERS       DESCRIPTION OF CHANGE
// ==================================================================================================
#endregion

using FI.Core.IoC;
using FI.Core.Logging;

namespace FI.Core.Logging
{
    [MapTo(typeof(ILoggerFactory), Lifetime = Lifetime.Singleton)]
    internal class LoggerWrapperFactory : ILoggerFactory
    {
        public ILogger Create()
        {
            return new LoggerWrapper();
        }
    }
}
